﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="EditFestivals.aspx.cs" Inherits="Festival_Locator.Organisator.EditFestivals" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <hgroup class="title">
                <asp:Label id="LabelWelcome" runat="server" Text="<%$ Resources:SiteResources, EditFest %>"></asp:Label>
    </hgroup>
    <br />
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="fest_id" DataSourceID="EntityDataSource1" OnRowDataBound="GridView1_RowDataBound">
        <Columns>
            <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
            <asp:BoundField DataField="fest_naam" HeaderText="Festival" SortExpression="fest_naam" />
            <asp:BoundField DataField="fest_locatie" HeaderText="<%$ Resources:SiteResources, Location %>" SortExpression="fest_locatie" />
            <asp:BoundField DataField="fest_datum" HeaderText="<%$ Resources:SiteResources, Date %>" SortExpression="fest_datum" DataFormatString="{0:dd/MM/yyyy}" HTMLEncode="false" />
            <asp:BoundField DataField="fest_duur" HeaderText="<%$ Resources:SiteResources, Duration %>" SortExpression="fest_duur" />
        </Columns>
    </asp:GridView>
    <asp:EntityDataSource ID="EntityDataSource1" runat="server" ConnectionString="name=groep12_festivalsEntities" DefaultContainerName="groep12_festivalsEntities" EnableDelete="True" EnableFlattening="False" EnableUpdate="True" EntitySetName="Festivals">
</asp:EntityDataSource>

</asp:Content>
